package com.dq.Week1.day05;

public class Demo01 {

    public static void main(String[] args) {

        Student student = new Student();

        student.name = "王兴硕";
        student.age = 18;
        student.happy = 100;
        student.weight = 120;
        student.devAbility = 0;

        for (int i = 0; i < 5; i++) {
            student.run();
        }
        for (int i = 0; i < 5; i++) {
            student.playGame(30);
        }
    }

}
